
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <link rel="stylesheet" href="">
    <style>
        .iconfont{
            width: 120px;
            height: 50px;
            margin: 20px;
            background-color: rgb(237, 32, 73);
            color: rgb(246, 238, 238);
            position: relative;

           
        }
        .iconfont img{
            width: 50px;
            height: 50px;
            vertical-align: middle;
        }
        .li{
            position:fixed;
            width: 30px;
            height: 20px;
            font-size: 14px;
            font-weight: 700;
            /* line-height: 20px; */
            text-align: center;
            background-color: rgb(228, 12, 33);
            color: #f8f4f4;
            border-radius: 10px;
            position: absolute;
            left: 27px;
            bottom: 30px;
        }
        
        

    </style>
</head>
<body>
    <div class="iconfont">
        <img src="./微信图片_20240421201920.jpg" alt="">
        <span>购物车</span>
        <div class="li">24</div>

    </div>
    
</body>
</html>